package com.bite.blog.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public enum ResponseCodeEnum {
    SUCCESS(200, "请求成功"),
    NO_LOGIN(-1, "用户未登录"),
    FAIL(-2, "请求失败"),
    PARAM_INVALID(-3, "非法参数"),
    NO_RESOURCES(-4, "未发现该资源"),
    ;

    @Getter
    private final int code;
    private final String msg;
}
